package com.aspose.cells;

class zbfc extends zck {
   zbfc(zn var1, float var2, float var3, zbkr var4) {
      super(var1, var2, var3, var4);
   }

   void b() {
      float var1 = 0.0F;
      float var2 = this.e.s();
      float var3 = this.e.t();
      float var4 = this.e.v().h();
      float var5 = this.e.v().i();
      new com.aspose.cells.b.a.b.zq(var2, var3, var4, var5);
      com.aspose.cells.b.a.b.zm var7 = zbum.a(this.e.x());
      if (this.e.m != null) {
         if (this.e.m.a.size() > 0) {
            var1 = com.aspose.cells.b.a.ze.a(this.e.m.a.get(0));
         } else {
            var1 = 8333.0F;
         }
      } else {
         var1 = 8333.0F;
      }

      float var8 = var1 * (var4 > var5 ? var5 : var4) / 100000.0F;
      com.aspose.cells.b.a.b.a.ze var9;
      if (!this.e.w().a()) {
         var9 = new com.aspose.cells.b.a.b.a.ze();
         var9.a(var2 + var4 - 3.0F * var8, var3, 2.0F * var8, 2.0F * var8, 270.0F, 90.0F);
         var9.a(var2 + var4 - var8, var3 + var5 / 2.0F - 2.0F * var8, 2.0F * var8, 2.0F * var8, 180.0F, -90.0F);
         var9.a(var2 + var4 - var8, var3 + var5 / 2.0F, 2.0F * var8, 2.0F * var8, 270.0F, -90.0F);
         var9.a(var2 + var4 - 3.0F * var8, var3 + var5 - 2.0F * var8, 2.0F * var8, 2.0F * var8, 0.0F, 90.0F);
         var9.a(var2 + var8, var3 + var5 - 2.0F * var8, 2.0F * var8, 2.0F * var8, 90.0F, 90.0F);
         var9.a(var2 - var8, var3 + var5 / 2.0F, 2.0F * var8, 2.0F * var8, 0.0F, -90.0F);
         var9.a(var2 - var8, var3 + var5 / 2.0F - 2.0F * var8, 2.0F * var8, 2.0F * var8, 90.0F, -90.0F);
         var9.a(var2 + var8, var3, 2.0F * var8, 2.0F * var8, 180.0F, 90.0F);
         var9.i();
         com.aspose.cells.b.a.b.zc var10 = zbum.a(this.e.w(), var9);
         this.a.a(var10, var9);
      }

      if (!this.e.x().a()) {
         var9 = new com.aspose.cells.b.a.b.a.ze();
         var9.j();
         var9.a(var2 + var4 - 3.0F * var8, var3, 2.0F * var8, 2.0F * var8, 270.0F, 90.0F);
         var9.a(var2 + var4 - var8, var3 + var5 / 2.0F - 2.0F * var8, 2.0F * var8, 2.0F * var8, 180.0F, -90.0F);
         var9.a(var2 + var4 - var8, var3 + var5 / 2.0F, 2.0F * var8, 2.0F * var8, 270.0F, -90.0F);
         var9.a(var2 + var4 - 3.0F * var8, var3 + var5 - 2.0F * var8, 2.0F * var8, 2.0F * var8, 0.0F, 90.0F);
         var9.j();
         var9.a(var2 + var8, var3 + var5 - 2.0F * var8, 2.0F * var8, 2.0F * var8, 90.0F, 90.0F);
         var9.a(var2 - var8, var3 + var5 / 2.0F, 2.0F * var8, 2.0F * var8, 0.0F, -90.0F);
         var9.a(var2 - var8, var3 + var5 / 2.0F - 2.0F * var8, 2.0F * var8, 2.0F * var8, 90.0F, -90.0F);
         var9.a(var2 + var8, var3, 2.0F * var8, 2.0F * var8, 180.0F, 90.0F);
         var9.j();
         this.a.a(var7, var9);
      }

      super.a();
   }
}
